<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
        <style type="text/css">
        .class01{
            color: blue;
            font-size: 30px;
            border: 1px solid yellow;
        }
        .class02{
            color: grey;
            font-size: 62px;
            border: 1px solid red;
        }
    </style>
</head>
<body>
    <div class="class01">第一个div</div>
    <div class="class02">第二个div</div>
    <span class="class01">第一个span</span>
    <span>第二个span</span>
</body>
</html>